package com.example.demo.core.annotations;

import java.lang.annotation.*;
import java.util.concurrent.TimeUnit;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RedisSetString {

    String key() default "";

    String keys() default "";

    long expire() default  0L;

    TimeUnit timeUnit() default TimeUnit.SECONDS;
}
